<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      fetch("/all-schedules/get", {
        method: "get",
        headers: {
          "Content-Type": "application/json",
          "Authorization": "Beared " + 'eyJhbGciOiJIUzI1NiJ9.eyJpZCI6MywibmFtZSI6InJvb3QiLCJlbWFpbCI6IjIyMjJAcXEuY29tIiwidG9rZW4iOiJmNWMwNmFhYTNlZmE0ZTIzN2MzMTQ5ZjEyZGQxODFkMCIsInJvbGUiOiJ1c2VyIiwic3RhdGUiOiJhY3RpdmF0ZWQifQ.nZom3DkTlg8wWNw_-Q4zYzL-Vmdiu__iRwiGK3G24Ag'
        },
        // body: JSON.stringify({
        //   schedule_id: 4,
        //   subject: 'ACTURSCI',
        //   catalog: "1021B"
        // }),
      }).then((res) => {
        return res.json();
      }).then(res => {
        console.log(res)
      })
    </script>
  </body>
</html>
